

using System;
using System.Data;
using System.Data.Common;
using PuntoMascotasWeb.BackEnd.BE;
using PuntoMascotasWeb.BackEnd.DAC;

namespace PuntoMascotasWeb.BackEnd.BC
{
    /// <summary>
    /// Business component para Razas.
    /// </summary>
    /// <Date>2013-05-05T15:02:35</Date>
    /// <Author>Mx23</Author>
    public class RazasBC
    {
        /// <summary>
        /// Insert
        /// </summary>
        /// <param name="pRazasBE">RazasBE</param>
        /// <returns>void</returns>
        /// <Date>2013-05-05T15:02:35</Date>
        /// <Author>Mx23</Author>
        public static void Insert(RazasBE pRazasBE)
        {

            //(Optional) Implement your code here

            RazasDAC.Insert(pRazasBE);


        }
        /// <summary>
        /// Update
        /// </summary>
        /// <param name="pRazasBE">RazasBE</param>
        /// <returns>void</returns>
        /// <Date>2013-05-05T15:02:35</Date>
        /// <Author>Mx23</Author>
        public static void Update(RazasBE pRazasBE)
        {

            //(Optional) Implement your code here

            RazasDAC.Update(pRazasBE);


        }
        /// <summary>
        /// Delete
        /// </summary>
        /// <param name="pIdRaza">IdRaza</param>
        /// <returns>void</returns>
        /// <Date>2013-05-05T15:02:35</Date>
        /// <Author>Mx23</Author>
        public static void Delete(System.Int32 pIdRaza)
        {

            //(Optional) Implement your code here

            RazasDAC.Delete(pIdRaza);


        }
        /// <summary>
        /// GetAll
        /// </summary>

        /// <returns>DataSet</returns>
        /// <Date>2013-05-05T15:02:35</Date>
        /// <Author>Mx23</Author>
        public static DataSet GetAll()
        {

            //(Optional) Implement your code here


            return RazasDAC.GetAll();


        }
        /// <summary>
        /// GetByParam
        /// </summary>

        /// <returns>DataSet</returns>
        /// <Date>2013-05-05T15:02:35</Date>
        /// <Author>Mx23</Author>
        public static DataSet GetByParam(RazasBE pRazasBE)
        {        
            return RazasDAC.GetByParam(pRazasBE);
        }

    }
}